package be.idamf.flash.amf
{
	
	public class TraitsInfo
	{
		public var type:String;
		public var isDynamic:Boolean;
		public var isExternalizable:Boolean;
		public var count:int;
		public var encoding:uint;
		public var properties:Array;
		
		public function TraitsInfo(type:String, isDynamic:Boolean, isExternalizable:Boolean, count:int)
		{
			this.type = type;
			this.isDynamic = isDynamic;
			this.isExternalizable = isExternalizable;
			this.count = count;
			
			properties = [];
		}
		
		public function addProperty(property:String):void
		{
			properties.push(property);
		}
	}
}